home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / swtools / tracebackCode / myfile.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  209 b   |  21 lines

  1. /*
  2.     A sample driver program
  3. */
  4. #include <stdio.h>
  5. void c()
  6. {
  7.     (void)printf("here\n");
  8.     (void)printStackTraceback(stdout);
  9.     (void)printf("done\n");
  10.     
  11. }
  12. static void b()
  13. {
  14.     c();
  15. }
  16. int main()
  17. {
  18.     b();
  19.     return 0;
  20. }
  21.